<template>
  <div class="bottom">
    <div class="list">
      <ul>
        <!-- <li @click="change(1)">首&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;页</li> -->
        <li>
          <div>Resources</div>
            <p>Whitepaper</p>
            <p>FAQs</p>
        </li>
        <li>
          <div>Product</div>
            <p @click="change(2)">FrontRock Listing</p>
            <p @click="change(3)">FrontRock DEX</p>
            <p @click="change(4)">FrontRock Banking</p>
        </li>
        <li>
          <div>Company</div>
            <p @click="change(5)">About us</p>
            <p @click="change(6)">Blog</p>
            <p @click="change(7)">Contact</p>
        </li>
        <!-- <li @click="change(5)">members</li> -->
        <!-- <li @click="change(6)">contact us</li> -->
      </ul>
    </div>
    <div class="logo">
      <!-- <img src="../assets/bottom_view.png" alt class="logopic" /> -->
    </div>
    <div class="footer">
      <div class="bottom-logo"></div>
      <div class="code">
        <a href="javascript:;">Terms</a>
        <a href="javascript:;">Privacy</a>
        <a href="javascript:;">License</a>
      </div>
      <div class="sns"></div>
      <!-- <p style="top: 20px;">1920*1080</p> -->
    </div>
    <!-- <div class="line"></div>
    <div class="beian">
      <div>
        <span>test</span>
        <span>test2</span>
      </div>
    </div> -->
  </div>
</template>

<script>
export default {
  methods: {
    change(i) {
      // return
      Bus.$emit('topbar', i)
      // window.scrollTo(0, 0)
    }
  }
}
</script>

<style scoped lang="scss">
.bottom {
  // padding: 30px 0 12px;
  // background-color: #070F4E;
  padding-top: 100px;
}

.list {
  // margin: 15px auto;
  // color: white;
  font-size: 16px;
  // max-width: 798px;
  > ul {
    // height: 40px;
    padding: 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    // @media screen and (max-width: 640px) {
    //   width: 100%;
    // }
    li {
      float: left;
      display: block;
      width: 33%;
      text-align: center;
      cursor: pointer;
      height: 25px;
      box-sizing: border-box;
      line-height: 25px;
      &:first-child {
        // border-left: 1px solid white;
      }
      font-family: "Krona One", monospace;
      div{
        // font-family: "Krona One";
        // font-size: 36px;
        font-size: 24px;
        font-weight: 400;
        line-height: 28px;
        margin-bottom: 40px;
        @media screen and (max-width: 840px) {
          font-size: 24px;
          margin-bottom: 20px;
        }
        @media screen and (max-width: 540px) {
          // font-size: 18px;
        }
      }
      p{
        // font-family: Newsreader, serif;
        font-family: "Krona One",monospace;
        // font-size: 18px;
        font-size: 16px;
        line-height: 16px;
        &:hover{
          text-decoration: underline;
        }
        @media screen and (max-width: 840px) {
          font-size: 14px;
        }
      }
    }
    &::after {
      clear: both;
      content: ' ';
      display: block;
      width: 0;
      height: 0;
      visibility: hidden;
    }

    @media screen and (max-width: 810px) {
      // max-width: 700px;
      // height: 36px;
      li {
        // width: 70px;
        float: none;
        width: auto;
        height: auto;
      }
    }
    @media screen and (max-width: 745px) {
      // width: 360px;
      width: 100%;
      // height: 55px;
      display: block;
      li {
        margin-top: 4px;
        // width: 33.33%;
        &:first-child {
          border-left: none;
        }
        &:last-child {
          border-right: none;
        }
        &:nth-child(3) {
          border-right: none;
        }
      }
    }
    @media screen and (max-width: 480px) {
      li {
        // font-size: 15px;
        font-size: 24px;
        margin-bottom: 60px;
      }
    }
    @media screen and (max-width: 320px) {
      li {
        padding: 0 4px;
      }
    }
  }
}

.logo {
  width: 954px;
  height: 571px;
  background: url(../assets/bottom_view.png) no-repeat bottom right;
  background-size: 90% auto;
  margin: 0 auto;
  margin-top: 40px;
  @media screen and (max-width: 840px) {
    width: 100%;
    height: 200px;
    margin-top: 0;
  }
}

.footer{
  text-align: left;
  font-family: "Krona One", monospace;
  // padding: 0 0 12px 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  // color: #fff;
  margin: 0 10px 0px 0;
  padding-bottom: 10px;
  position: relative;
  @media screen and (max-width: 370px) {
    align-items: center;
  }
  .bottom-logo{
    // display: inline-block;
    background: url(../assets/logo.png) no-repeat left;
    background-size: 100% auto;
    width: 122px;
    height: 34px;
    margin: 0 10px 0 0;
    @media screen and (max-width: 540px) {
      margin: 0;
      // background-size: 90% auto;
      width: 100px;
    }
  }
  .code{
    display: inline-block;
    white-space: nowrap;
      @media screen and (max-width: 640px) {
        height: 23px;
      }
    a{
      color: white;
      text-decoration: none;
      padding: 0 20px 0 0;
      &:hover{
        text-decoration: underline;
      }
      @media screen and (max-width: 640px) {
        padding: 0 5px 0 0;
        font-size: 12px;
      }
    }
  }
  .sns{
    background: url(../assets/bottom_sns.png) no-repeat;
    background-size: 100% auto;
    width: 100px;
    height: 20px;
    // position: absolute;
    // right: 5px;
    // bottom: 3px;
    // float: right;
    // margin: 20px 53px 0px 0;
    @media screen and (max-width: 640px) {
      // margin: 20px 5px 0 0;
      // right: 0;
      transform: scale(.8);
    }
  }
  // color: white;
}

.blog, .article, .contact{
  .footer{
    .bottom-logo, .sns{
      filter: invert(1);
      &.bottom-logo{
        background-image: url(../assets/logo_deep.png);
        filter: invert(0);
        margin:0 5px 1px 10px;
      }
    }
    a{
      color: #2C2C2C;
    }
  }
}


.address {
  color: white;
  position: relative;
}
.address > p {
  margin: 8px;
  font-size: 12px;
}
.line {
  width: 100%;
  height: 20px;
  border-bottom: 0.5px solid white;
}
.beian {
  margin-top: 10px;
  font-size: 12px;
  color: white;
  position: relative;
}
.beian > div {

}
.logopic {
  width: 81px;
  transform: translateX(-3px);
}
</style>
